import java.util.Scanner;
public class input 
	{
		public static void main(String[]args)
		{
			Scanner scan = new Scanner(System.in);
			System.out.print("What's your number?\n");
			int num1 = scan.nextInt();
			
			
			for (int i = 0 ; i<=num1 ; i++)
			{
				System.out.println(i);
			}
		}
	}
